<% @report_template.ticket_template.note_types.each do |note_type| %>
  <%= check_box_tag('report_template[note_type_ids][]', value = note_type.id, checked = (@report_template.note_types.include? note_type)) %> <%=h note_type.name %> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<% end %>
<br />
